package com.training.java.core.immutability;

public class Car {

	private String make;
	private String model;
	private int year;

	// declare constructor. In eclipse, right click and select generate
	// constructors, it will do.

	public Car(String make, String model, int year) {
		
		this.make = make;
		this.model = model;
		this.year = year;
	}

	// getters.

	public String getMake() {
		return make;
	}

	public String getModel() {
		return model;
	}

	public int getYear() {
		return year;
	}

}
